:root {
    --bg-color: #F0F1F2;
    --primary-color: rgb(102, 102, 239);
    --text-color: rgb(75, 75, 75);
    --white-color: white;
    --black-color: black;
    --border-color: rgb(194, 188, 188);
    --dark-text-color: #1f1f1f;
    --paragraph-color: #3a3a3a;
    --muted-color: #7c7f83;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: 22px;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
}

.nav nav {
    display: flex;
    justify-content: space-between;
    gap: 42px;
    list-style-type: none;
    position: relative;
    right: 3rem;
}

.nav li a {
    color: var(--text-color);
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    transition: 0.2s;
    display: inline-block;
}

nav a:hover,
a:focus {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
}

.logo h4 {
    position: relative;
    left: 30px;
    top: 3px;
    font-family: "Asap Sharp", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 30px;
}

.home {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 40px 0;
}

.home .row {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 0;
    justify-content: space-between;
}

.home .row .con-t,
.home .row .con-i,
.home .container .con-t,
.home .container .con-i,
.about .parent .con-t,
.about .parent .con-i,
.us .parent1 .con-t,
.us .parent1 .con-i,
.contant .row1 .con-t,
.contant .row1 .con-i {
    flex: 1 1 0;
}

.home .row .con-t h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: clamp(2.7rem, 4vw, 4.3rem);
    line-height: 1.1;
    font-style: normal;
    font-family: "Asap Sharp", sans-serif;
}

.home .row .con-t p {
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 30px;
    max-width: 560px;
}

.home .row .con-i img {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
    margin-left: auto;
    border-radius: 20px;
}

.home .btn,
.about .btn,
.contant .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, font-weight 0.2s ease;
}

.home .btn {
    margin-top: 0;
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 1.05rem;
    background-color: #dfe7f5;
    border: none;
    padding: 12px 26px;
    cursor: pointer;
    font-weight: 600;
}

.home .btn:hover,
.about .btn:hover,
.contant .btn:hover,
.home .btn:focus-visible,
.about .btn:focus-visible,
.contant .btn:focus-visible {
    color: var(--dark-text-color);
    background-color: #d2dff7;
    box-shadow: 0 4px 12px rgba(75, 93, 151, 0.12);
    transform: translateY(-1px);
    font-weight: 700;
}

.home .container {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--primary-color);
    background: linear-gradient(135deg, #dff2ff, #ecf7ff);
    box-sizing: border-box;
    margin: 40px auto 20px;
    width: min(1100px, calc(100% - 80px));
    border-radius: 24px;
    padding: 22px 28px;
    box-shadow: 0 10px 25px rgba(74, 90, 130, 0.08);
}

.home .container .con-t {
    margin-left: 0;
}

.home .container .con-t h3 {
    margin-bottom: 8px;
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-style: normal;
    font-family: "Asap Sharp", sans-serif;
    margin: 0;
}

.home .container .con-t p {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    font-style: normal;
    margin-top: 8px;
    color: var(--paragraph-color);
}

.container .con-i img {
    display: block;
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 16px;
}

.about .parent {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 50px 40px;
    justify-content: space-between;
    background: linear-gradient(135deg, #dff2ff, #eef7ff);
    margin: 30px 0;
}

.about .parent .con-t h2 {
    color: var(--primary-color);
    margin-bottom: 22px;
    font-size: clamp(2.2rem, 3vw, 3.5rem);
    line-height: 1.1;
    font-style: normal;
    font-family: "Asap Sharp", sans-serif;
}

.about .parent .con-t p {
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 28px;
    max-width: 520px;
}

.about .btn {
    display: inline-block;
    color: var(--white-color);
    background-color: var(--primary-color);
    border-radius: 50px;
    margin-top: 0;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 26px;
    cursor: pointer;
    border: none;
}

.about .parent .con-i img {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
    border-radius: 20px;
    margin-left: auto;
}

.item {
    gap: 30px;
    padding: 45px 7%;
    width: 100%;
}

.item .container {
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: normal;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.container p {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.6;
}

.container h2 {
    color: var(--primary-color);
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    font-family: "Asap Sharp", sans-serif;
    margin: 0;
}

.services {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.services .card {
    background: linear-gradient(180deg, #0d2d9d, #1a50d8);
    border-radius: 18px;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px 18px;
    width: min(220px, 100%);
    min-height: 240px;
    box-shadow: 0 12px 28px rgba(23, 74, 180, 0.12);
}

.services .card img {
    width: 110px;
    height: 110px;
    margin-bottom: 20px;
    object-fit: cover;
    border-radius: 12px;
}

.services .card h3 {
    color: var(--white-color);
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0;
}

.us {
    width: 100%;
    max-width: 100%;
}

.us .parent1 {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 40px;
    justify-content: center;
}

.us .parent1 .con-t,
.us .parent1 .con-i {
    flex: 1 1 0;
}

.us .parent1 .con-t {
    padding-right: 12px;
}

.us .parent1 .con-t h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 3vw, 3.5rem);
    line-height: 1.1;
    font-style: normal;
    font-family: "Asap Sharp", sans-serif;
}

.us .parent1 .con-t h4 {
    font-size: 1.3rem;
    font-style: normal;
    margin-bottom: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.us .parent1 .con-t p {
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 400;
    font-style: normal;
}

.us .parent1 .icons {
    margin-top: 30px;
    display: grid;
    gap: 18px;
}

.us .parent1 .icons i {
    font-size: 1.6rem;
    color: blue;
    min-width: 30px;
    margin-top: 4px;
}

.us .parent1 .icons p {
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    font-weight: 400;
    margin: 0;
    line-height: 1.7;
}

.us .parent1 .con-i {
    display: flex;
    justify-content: center;
}

.us .parent1 .con-i img {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
    margin-bottom: 0;
    border-radius: 20px;
}

.contant .row1 {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 40px 30px;
    justify-content: center;
}

.contant .row1 .con-t,
.us .row1 .con-i {
    flex: 1 1 0;
}

.contant .row1 .con-t {
    padding-right: 12px;
}

.con-t h4 {
    font-family: "Asap Sharp", sans-serif;
}

.contant .row1 .con-t h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: clamp(2.1rem, 3vw, 3.2rem);
    line-height: 1.1;
    font-style: normal;
    font-family: "Asap Sharp", sans-serif;
}

.contant .row1 .con-t h4 {
    font-size: 1.3rem;
    font-style: normal;
    margin-bottom: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contant .row1 .con-t p {
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 400;
    font-style: normal;
}

.contant .btn {
    color: var(--white-color);
    background-color: var(--primary-color);
    border-radius: 50px;
    margin-top: 24px;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 26px;
    cursor: pointer;
    border: none;
}

.contant .row1 .con-i {
    display: flex;
    justify-content: center;
}

.contant .row1 .con-i img {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
    border-radius: 20px;
}

.footer-parent {
    background-color: var(--black-color);
    border-radius: 20px;
    margin-inline: 20px;
    height: 68vh;
    color: var(--white-color);
    display: flex;
    justify-content: space-between;
    padding: 5rem 0 1rem 2rem;
    margin-bottom: 1.5rem;
}

.footer-child h3 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 2rem;
}

.footer-child:first-child p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    bottom: -80%;
}

.footer-child h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    margin-bottom: 1rem;
}

.footer-child:nth-child(2) {
    position: relative;
    left: 5rem;
}

.footer-child:nth-child(2) p {
    line-height: 2rem;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.footer-child:nth-child(3) {
    position: relative;
    right: -12rem;
}

.footer-child:nth-child(3) p {
    line-height: 2rem;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    width: 40%;
}

.footer-child:nth-child(4) {
    position: relative;
    left: -3rem;
}

.footer-child ul {
    list-style-type: none;
}

.footer-child a {
    font-size: 1rem;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    left: 1px;
    line-height: 2rem;
    color: var(--white-color);
}

.footer-child a:hover,
a:focus {
    color: var(--muted-color);
}

/* Tablet Responsiveness: 769px to 972px */

@media (min-width: 769px) and (max-width: 972px) {

    .header {
        justify-content: center;
        margin-inline: 16px;
        padding: 16px;
        flex-wrap: wrap;
    }

    .logo {
        order: 1;
    }

    .nav {
        width: 100%;
        order: 3;
        margin-top: 10px;
        display: flex;
        justify-content: center;
    }

    .nav nav {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
        position: static;
        right: 0;
    }

    .nav li a {
        font-size: 15px;
    }

    .home {
        max-width: 100%;
        padding: 25px 30px 0;
    }

    .home .row {
        flex-direction: column;
        gap: 15px;
        padding: 0;
    }

    .home .row .con-t,
    .home .row .con-i {
        width: 100%;
        flex: 1 1 100%;
    }

    .home .row .con-t h1 {
        font-size: 2.5rem;
    }

    .home .row .con-t p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .home .row .con-i img {
        max-width: 380px;
        height: auto;
        position: static;
        margin: 0 auto;
        border-radius: 15px;
    }

    .home .container {
        width: calc(100% - 32px);
        flex-direction: row;
        padding: 18px 16px;
        gap: 20px;
        margin-top: 25px;
    }

    .container .con-i img {
        max-width: 120px;
        height: auto;
    }

    .about .parent {
        flex-direction: column;
        gap: 30px;
        padding: 40px 25px;
    }

    .about .parent .con-t h2 {
        font-size: 2rem;
    }

    .about .parent .con-i img {
        max-width: 280px;
        height: auto;
        margin: 0 auto;
    }

    .services {
        gap: 15px;
        flex-wrap: wrap;
    }

    .services .card {
        width: min(200px, 100%);
        min-height: 160px;
    }

    .services .card img {
        max-height: 120px;
        object-fit: cover;
    }

    .us .parent1 {
        flex-direction: column;
        gap: 30px;
        padding: 40px 25px;
    }

    .us .parent1 .con-t h2 {
        font-size: 2rem;
    }

    .us .parent1 .icons {
        gap: 15px;
    }

    .us .parent1 .icons p {
        display: block;
        text-align: left;
    }

    .us .parent1 .con-i img {
        max-width: 280px;
        height: auto;
        margin: 0 auto;
    }

    .contant .row1 {
        flex-direction: column;
        gap: 30px;
        padding: 40px 25px;
    }

    .contant .row1 .con-t h2 {
        font-size: 2rem;
    }

    .contant .row1 .con-i img {
        max-width: 280px;
        height: auto;
        margin: 0 auto;
    }

    .footer-parent {
        height: auto;
        min-height: 0;
        flex-direction: column;
        gap: 1.2rem;
        margin-inline: 15px;
        padding: 2rem 1.5rem;
    }

    .footer-child:nth-child(2),
    .footer-child:nth-child(3),
    .footer-child:nth-child(4) {
        position: static;
        left: auto;
        right: auto;
    }

    .footer-child:nth-child(3) p {
        width: 100%;
    }
}

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .header {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        margin-inline: 10px;
        padding: 15px 10px;
    }

    .nav {
        width: 100%;
    }

    .nav nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px 16px;
        position: static;
        right: 0;
    }

    .nav li a {
        font-size: 14px;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .logo img {
        width: 40px;
    }

    .logo h4 {
        left: 12px;
        top: 0;
        font-size: 24px;
    }

    .home,
    .about .parent,
    .us .parent1,
    .contant .row1 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home {
        padding-top: 30px;
    }

    .home .row,
    .about .parent,
    .us .parent1,
    .contant .row1 {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }

    .home .row .con-t,
    .home .row .con-i,
    .home .container .con-t,
    .home .container .con-i,
    .about .parent .con-t,
    .about .parent .con-i,
    .us .parent1 .con-t,
    .us .parent1 .con-i,
    .contant .row1 .con-t,
    .contant .row1 .con-i {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }

    .home .row .con-t h1,
    .about .parent .con-t h2,
    .us .parent1 .con-t h2,
    .contant .row1 .con-t h2 {
        font-size: clamp(2rem, 7vw, 3rem);
        line-height: 1.15;
    }

    .home .row .con-t p,
    .about .parent .con-t p,
    .us .parent1 .con-t p,
    .contant .row1 .con-t p,
    .home .container .con-t p,
    .us .parent1 .icons p {
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .home .row .con-i img,
    .about .parent .con-i img,
    .us .parent1 .con-i img,
    .contant .row1 .con-i img {
        max-width: 100%;
        margin: 0 auto;
    }

    .home .container {
        flex-direction: column;
        width: calc(100% - 32px);
        padding: 18px 16px;
        text-align: center;
    }

    .container .con-i img {
        max-width: 180px;
    }

    .services {
        gap: 18px;
    }

    .services .card {
        width: min(220px, 100%);
        min-height: 200px;
    }

    .us .parent1 .icons {
        gap: 14px;
    }

    .us .parent1 .icons p {
        display: block;
        text-align: left;
    }

    .footer-parent {
        flex-direction: column;
        height: auto;
        padding: 2rem 1.2rem 1.5rem;
        gap: 1.5rem;
        margin-inline: 10px;
    }

    .footer-child:nth-child(2),
    .footer-child:nth-child(3),
    .footer-child:nth-child(4) {
        position: static;
        left: auto;
        right: auto;
    }

    .footer-child:nth-child(3) p {
        width: 100%;
    }
}

/* =========================================
   Responsive: 973px -> 1124px
   ========================================= */

@media (min-width: 973px) and (max-width: 1124px) {

    body {
        overflow-x: hidden;
    }

    /* ================= HEADER ================= */

    .header {
        margin-inline: 15px;
        padding: 15px 10px;
    }

    .nav nav {
        gap: 22px;
    }

    .nav li a {
        font-size: 16px;
        left: 0;
    }

    .logo img {
        width: 45px;
    }

    .logo h4 {
        left: 15px;
        font-size: 26px;
    }
}